var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ActivitySchema = new Schema({
	event_id:{type:Schema.Types.ObjectId,ref:'Event'},
	user_id:{type:Schema.Types.ObjectId,ref:'User'},
	origin_price:{type:Number,default:15792},
	dest_price:{type:Number,default:7896},
	now_price:{type:Number,default:15792},
	state:{type:Number,default:1},
	create_date:String
});
module.exports = mongoose.model('Activity',ActivitySchema);